import * as iconsModules from '@ant-design/icons';

const svgIcons = [],
	icons = [];

// svg图标
const svgModules = import.meta.glob('@/assets/svg/*.svg');
for (const key of Object.keys(svgModules)) {
	svgIcons.push(key.replace(/\/src\/assets\/svg\/|\.svg/g, ''));
}
// ui图标
for (const key of Object.keys(iconsModules)) {
	icons.push(key);
}

export { svgIcons, icons };
